package sgi.misc;
/**A Dimension object that accepts float values. For use in Coordinates for Interactive map and location in database*/
public class FloatDimension implements java.io.Serializable {

	private float xCoord;
	private float yCoord;
	
	public FloatDimension() {
		
	}
	public FloatDimension(float xCoord, float yCoord) {
		this.xCoord = xCoord;
		this.yCoord = yCoord;
	}
	public FloatDimension(FloatDimension dim) {
		this.xCoord = dim.getX();
		this.yCoord = dim.getY();
	}
	
	public void setX(float xCoord) {
		this.xCoord = xCoord;
	}
	public void sety(float yCoord) {
		this.yCoord = yCoord;
	}
	
	public float getX() {
		return this.xCoord;
	}
	public float getY() {
		return this.yCoord;
	}
	
}
